Mention theme-specific settings in the migration guide
authorMatthias Clasen <mclasen@redhat.com>
Sun, 30 Jan 2011 03:59:32 +0000 (22:59 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 30 Jan 2011 03:59:32 +0000 (22:59 -0500)
docs/reference/gtk/migrating-GtkStyleContext.xml

index 42ede40768119436d484d2b624581cf540720cdc..e228a00e450de6e54c6fb1aa262a9483bd650ce4 100644 (file)
       with possible variants such as the dark theme being named
       <filename>gtk-dark.css</filename> in the same directory.
     </para>
+
+    <para>
+      If your theme gtkrc file was providing values for #GtkSettings, you
+      can install a <filename>settings.ini</filename> keyfile along with
+      the <filename>gtk.css</filename> to provide theme-specific defaults
+      for settings.
+    </para>
   </section>
 
   <section id="gtk-migrating-theme-GtkStyleContext-engines">
 
     <orderedlist>
       <listitem>
-        Replace <literal>style_set()</literal> calls with
-        <literal>style_updated()</literal>.
+        Replace #GtkWidget::style-set handlers with
+        #GtkWidget::style-updated handlers.
       </listitem>
 
       <listitem>